name: testsPCE run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/testsPCE/bin:/opt/pyenv/bin:/tmp/venv-AdkT/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PIP_EXTRA_INDEX_URL: https://gitlab.com/api/v4/projects/33090323/packages/pypi/simple env PYTHONHASHSEED: 3464745996 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/testsPCE env TOX_ENV_NAME: testsPCE env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/testsPCE env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 5128 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/testsPCE/bin/*:launch_tests.sh cmd: ./launch_tests.sh pce exit_code: 1 pytest -q transportpce_tests/pce/test01_pce.py .................... [100%] 20 passed in 112.66s (0:01:52) pytest -q transportpce_tests/pce/test02_pce_400G.py ............ [100%] 12 passed in 47.72s pytest -q transportpce_tests/pce/test03_gnpy.py F...FFF. [100%] =================================== FAILURES =================================== _________________ TestTransportGnpy.test_00_load_port_mapping __________________ self = def test_00_load_port_mapping(self): response = test_utils.post_portmapping(self.port_mapping_data) > self.assertIn(response['status_code'], (requests.codes.created, requests.codes.no_content)) E AssertionError: 404 not found in (201, 204) transportpce_tests/pce/test03_gnpy.py:119: AssertionError ---------------------------- Captured stdout setup ----------------------------- sample files content loaded starting GNPy REST server... starting OpenDaylight... starting KARAF (karaf) TransportPCE build... Searching for patterns in karaf.log... Pattern found! OpenDaylight started ! __________ TestTransportGnpy.test_04_path_computation_FeasibleWithPCE __________ self = def test_04_path_computation_FeasibleWithPCE(self): response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual(response['output']['configuration-response-common']['response-code'], '200') E AssertionError: '500' != '200' E - 500 E ? ^ E + 200 E ? ^ transportpce_tests/pce/test03_gnpy.py:144: AssertionError ___ TestTransportGnpy.test_05_path_computation_FoundByPCE_NotFeasibleByGnpy ____ self = def test_05_path_computation_FoundByPCE_NotFeasibleByGnpy(self): self.path_computation_input_data["service-name"] = "service-2" self.path_computation_input_data["service-handler-header"]["request-id"] = "request-2" self.path_computation_input_data["hard-constraints"] =\ {"include": {"node-id": ["OpenROADM-2", "OpenROADM-3", "OpenROADM-4"]}} response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) self.assertEqual(response['status_code'], requests.codes.ok) self.assertEqual(response['output']['configuration-response-common'][ 'response-code'], '500') self.assertEqual(response['output']['configuration-response-common'][ 'response-message'], 'No path available by PCE and GNPy ') self.assertIn('A-to-Z', > [response['output']['gnpy-response'][0]['path-dir'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ response['output']['gnpy-response'][1]['path-dir']]) E KeyError: 'gnpy-response' transportpce_tests/pce/test03_gnpy.py:174: KeyError ______ TestTransportGnpy.test_06_path_computation_FoundByPCE_FoundByGNPy _______ self = def test_06_path_computation_FoundByPCE_FoundByGNPy(self): self.path_computation_input_data["service-name"] = "service-3" self.path_computation_input_data["service-handler-header"]["request-id"] = "request-3" self.path_computation_input_data["service-z-end"]["node-id"] = "XPONDER-4" self.path_computation_input_data["hard-constraints"] =\ {"include": {"node-id": ["OpenROADM-2", "OpenROADM-3"]}} response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual(response['output']['configuration-response-common'][ 'response-code'], '200') E AssertionError: '500' != '200' E - 500 E ? ^ E + 200 E ? ^ transportpce_tests/pce/test03_gnpy.py:196: AssertionError =========================== short test summary info ============================ FAILED transportpce_tests/pce/test03_gnpy.py::TestTransportGnpy::test_00_load_port_mapping FAILED transportpce_tests/pce/test03_gnpy.py::TestTransportGnpy::test_04_path_computation_FeasibleWithPCE FAILED transportpce_tests/pce/test03_gnpy.py::TestTransportGnpy::test_05_path_computation_FoundByPCE_NotFeasibleByGnpy FAILED transportpce_tests/pce/test03_gnpy.py::TestTransportGnpy::test_06_path_computation_FoundByPCE_FoundByGNPy 4 failed, 4 passed in 31.70s